<%- include('header') %>
<% var i = 1 %>
<% posts.forEach(function (post) { %>
  <% if((i % 2) != 0 ) {%>
    <%- include('components/post-content', { post: post }) %>
  <%} else {%>
    <%- include('components/post-content-right', { post: post }) %>
  <% } %>
  <% i++; %>
<% }) %>

<%- include('footer') %>